﻿<%@ Page Language="C#" MasterPageFile="~/Provider/CarInsurance/Liberty_CarInsurance.master"
    AutoEventWireup="true" CodeFile="ViewProviderCarDrivingExperience.aspx.cs" Inherits="Provider_CarInsurance_ViewCarDrivingExperience"
    Title="View Car Driving Exprience" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="provider_inner">
        <h1>
            Car Driving Experience</h1>
        <div class="right_action">
            <asp:HyperLink runat="server" ID="lnkNewCarDrivingExp" NavigateUrl="~/Provider/CarInsurance/ProviderCarDrivingExperience.aspx"
                Text="New"></asp:HyperLink>
        </div>
        <asp:GridView ID="grvCarDrivingExp" runat="server" AllowPaging="False" AutoGenerateColumns="false"
            CellPadding="2" DataKeyNames="ProviderCarDrivingExpId" EmptyDataText="There are no data records to display."
            CssClass="progridstyle" GridLines="None" OnSelectedIndexChanged="grvCarDrivingExp_SelectedIndexChanged">
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" />
            <Columns>
                <asp:BoundField DataField="ProviderCarDrivingExpId" HeaderText="CardId" InsertVisible="False"
                    ReadOnly="True" SortExpression="ProviderCarDrivingExpId" Visible="False" />
                <asp:BoundField DataField="FromDrivingExpYear" HeaderText="From Driving Exp (Year)"
                    SortExpression="FromDrivingExpYear" />
                <asp:BoundField DataField="ToDrivingExpYear" HeaderText="To Driving Exp (Year)" SortExpression="ToDrivingExpYear" />
                <asp:BoundField DataField="DrivingExpRate" DataFormatString="{0:F}" HeaderText="Rate"
                    SortExpression="DrivingExpRate" />
                <asp:CheckBoxField DataField="Status" HeaderText="Status" SortExpression="Status" />
                <asp:BoundField DataField="ModifiedDate" HeaderText="Modified Date" SortExpression="ModifiedDate" />
                <asp:CommandField ShowSelectButton="True" SelectText="Edit" />
            </Columns>
            <FooterStyle />
            <PagerStyle />
            <SelectedRowStyle CssClass="progridover" />
            <HeaderStyle CssClass="progridheader" />
            <EditRowStyle />
            <AlternatingRowStyle CssClass="progridodd" />
            <RowStyle CssClass="progrideven" />
        </asp:GridView>
        <asp:ImageButton OnClientClick="javascript:return confirm('Are you sure to go back?');"
            ID="ibtBack" runat="server" ImageUrl="~/Provider/images/buttons/back1.gif" OnClick="ibtBack_Click" />
    </div>
</asp:Content>
